Skip to main content

Pagination

Pagination is navigation for paginated content.

Examples

Master component

Examples

Usage

Accessibility considerations

Code usage

A common component for showing pagination on the page. Displays previous arrow, next arrow, and copy message based on current page and item.

NameTypeDefault ValueRequiredDescription
pagenumberYespage number
totalEntriesnumberYestotal number of items
pageSizenumberYespageSize
onPrev() => voidYesfunction to be called when previous is selected
onNext() => voidYesfunction to be called when next is selected
tabstringNooptional tab if screen has tabs for analytics